<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2021/6/7
  Time: 9:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>
        a{
            color: #0000ff;
            text-decoration: none;
            cursor: pointer;
        }
        table{
            margin-left: 200px;
        }
        table tr th,table tr td{
            border: 1px solid coral;
            text-align: center;
        }
    </style>
</head>
<body>
    <form action="<%=application.getContextPath()%>/web/user.do?method=addUser" method="post">
        <table>
            <caption><h4>添加用户信息表</h4></caption>
            <tr>
                <td>姓名：</td>
                <td> <input type="text" name="name"></td>
            </tr>
            <tr>
                <td>用户名：</td>
                <td> <input type="text" name="username"></td>
            </tr>
            <tr>
                <td>密码：</td>
                <td> <input type="password" name="password"></td>
            </tr>
            <tr>
                <td>电话：</td>
                <td> <input type="tel" name="phone"></td>
            </tr>
            <tr>
                <td>邮箱：</td>
                <td> <input type="email" name="email"></td>
            </tr>
            <tr>
                <td colspan="5">
                    <input type="submit" value="提交">&nbsp;&nbsp;&nbsp;&nbsp;
                    <button onclick="javascript:window.history.go(-1);return false;">返回</button>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
